package com.liuzhilong.infrastructure.framework.spring.lisener;

import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class TestContextRefreshedLisener  {

    @EventListener
    public void listen(ContextRefreshedEvent event){
        System.out.println("我成功监听到容器启动");
    }

}
